package wwk.com.android_meilishuo.interfaces;

import java.util.Map;

import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.QueryMap;
import rx.Observable;
import wwk.com.android_meilishuo.ui.home.bean.HomeHeadBean;
import wwk.com.android_meilishuo.ui.home.bean.ListBean;
import wwk.com.android_meilishuo.ui.home.bean.TrendBean;
import wwk.com.android_meilishuo.ui.secondfloor.SecondFloorBean;

/**
 * Created by Administrator on 2016/12/28.
 */

public interface MLSInterface {
    /*二楼的接口*/
    @GET("{type}?")
    Observable<SecondFloorBean> getSFData(@Path("type") String type,
                                          @QueryMap Map<String, String> map);

    /*好物搭配  正在流行  每日上新*/
    @GET("4%3Fpid=20640")
    Observable<HomeHeadBean> getHHData();

    //美丽优选
    @GET("4%3Fpid=19256")
    Observable<ListBean> getBeautyData();

    //潮流解析
    @GET("{type}?")
    Observable<TrendBean> getTrendData(@Path("type") String type,
                                       @QueryMap Map<String, String> map);

    //分类
    @GET("4%3Fpid=20878")
    Observable<HomeHeadBean> getSortData();

}
